﻿/*******************************************************************************
#                    AnswerEntity.cs
#  Comment:
#
#  Current Version: V1.0
#  Author: 
#
#  History List:
#  V1.0    Created by Onions@2009-8-18 20:07:18
#
#******************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using IBatisNet.Extend;

namespace ExpertMIS.Entities
{
    public enum AnswerStatus
    {
        Normal = 0,
        Accepted = 1
    }

    /// <summary><c>AnswerEntity</c> Business Object.</summary>
    [Serializable]
    public class AnswerEntity : BaseEntity
    {

        #region Constructor

        public AnswerEntity()
        {
            // construct your entity
        }

        #endregion

        #region Properties

        #region OID

        private String m_oID;

        /// <summary>Gets or sets OID</summary>
        public String OID
        {
            get { return m_oID; }
            set { m_oID = value; }
        }

        #endregion

        #region QuestionOID

        private String m_questionOID;

        /// <summary>Gets or sets QuestionOID</summary>
        public String QuestionOID
        {
            get { return m_questionOID; }
            set { m_questionOID = value; }
        }

        #endregion

        #region Context

        private String m_context;

        /// <summary>Gets or sets Context</summary>
        public String Context
        {
            get { return m_context; }
            set { m_context = value; }
        }

        #endregion

        #region UserOID

        private String m_userOID;

        /// <summary>Gets or sets UserOID</summary>
        public String UserOID
        {
            get { return m_userOID; }
            set { m_userOID = value; }
        }

        #endregion

        #region UpdateDate

        private DateTime m_updateDate;

        /// <summary>Gets or sets UpdateDate</summary>
        public DateTime UpdateDate
        {
            get { return m_updateDate; }
            set { m_updateDate = value; }
        }

        #endregion

        #region CreateDate

        private DateTime m_createDate;

        /// <summary>Gets or sets CreateDate</summary>
        public DateTime CreateDate
        {
            get { return m_createDate; }
            set { m_createDate = value; }
        }

        #endregion

        #region ClientIP

        private String m_clientIP;

        /// <summary>Gets or sets ClientIP</summary>
        public String ClientIP
        {
            get { return m_clientIP; }
            set { m_clientIP = value; }
        }

        #endregion

        #region Status

        private AnswerStatus m_status;

        /// <summary>Gets or sets Status</summary>
        public AnswerStatus Status
        {
            get { return m_status; }
            set { m_status = value; }
        }

        #endregion

        #endregion
    }
}
